/*
 * @Author: Setsuna
 * @Email: setsuna.xyz@qq.com
 * @FilePath: \personnelmanage\src\pages\QuotaManage\Report\InventoryAnalysisReport\index.tsx
 * @Date: 2022-01-13 15:29:38
 * @LastEditTime: 2022-10-14 12:19:36
 */

import { UdPage, UdPageHeader } from '@/lib'
import udMainStore from '@/store/UdMain'
import * as React from 'react'
import AreaTab from './components/AreaTab'
import CompanyTab from './components/CompanyTab'
import { Tabs } from 'antd'

const { TabPane } = Tabs;
interface IProps { }
export default class InventoryAnalysisReport extends React.Component<IProps> {
  private brandList = udMainStore.brandList
  render() {
    return (
      <UdPage className="list-page inventoryAnalysisReport">
        <UdPageHeader title="库存动销分析报表" />
        <Tabs defaultActiveKey="1" animated={false}>
          <TabPane tab="品牌公司" key="1">
            <CompanyTab brandList={this.brandList} />
          </TabPane>
          <TabPane tab="片区" key="2">
            <AreaTab brandList={this.brandList} />
          </TabPane>
        </Tabs>
      </UdPage>
    )
  }
}
